@extends('layout')

@section('title', $coupon->title)

@section('meta')
    <meta name="worldwidecard:type" content="webpage">
    <meta name="worldwidecard:webpage:url" content="{{route('purchase.wap_show', $coupon->id)}}">
    <meta name="worldwidecard:webpage:title" content="{{$coupon->title}}">
    <meta name="worldwidecard:webpage:description" content="{{str_limit(strip_tags($coupon->content), 100)}}">
    @if($coupon->picture)
        <meta name="worldwidecard:webpage:image" content="{{config('app.url').'/uploads/'.$coupon->picture}}">
    @endif

@endsection

@section('content')
    <body>
    <div class="infomations">
        <h1>{{$coupon->title}}</h1>
        <div class="contents">
            {!! $coupon->content !!}
        </div>
    </div>

    </body>
@endsection